package com.jl.design.pattern.creational.simplefactory;

public class Test {
    public static void main(String[] args) {
        VideoFactory videoFactory = new VideoFactory();

        Video java = videoFactory.getVideo(JavaVideo.class);
        java.porduce();

        Video video = videoFactory.getVideo(PythonVideo.class);
        video.porduce();
    }
}
